package cn.edu.cuit.controller;

import cn.edu.cuit.common.base.LayuiRespResult;
import cn.edu.cuit.service.SysUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/sys_user") //前缀
public class SysUserController {

     @Autowired
     private SysUserService sysUserService;

     @GetMapping("/findSysUserAll")
     public LayuiRespResult findSysUserAll(){
         return sysUserService.findSysUserAll();
     }

}
